package com.dwxt.community.entity;

import com.fasterxml.jackson.annotation.*;

import java.util.Date;

public class RubbishBagRecord {
    private String id;

    private String bagId;

    private String userId;

    private String supervisorId;

    private String houseAddr;

    private Integer tdmId;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;

    private Integer communityId;

    private String communityName;

    private String houseNumber;

    private String username;

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public RubbishBagRecord() {
    }

    public RubbishBagRecord(String id, String bagId, String userId, String supervisorId, String houseAddr,Date date, Integer communityId, String communityName, String houseNumber) {
        this.id = id;
        this.bagId = bagId;
        this.userId = userId;
        this.supervisorId = supervisorId;
        this.houseAddr = houseAddr;
        this.createTime = date;
        this.communityId = communityId;
        this.communityName = communityName;
        this.houseNumber = houseNumber;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id == null ? null : id.trim();
    }

    public String getBagId() {
        return bagId;
    }

    public void setBagId(String bagId) {
        this.bagId = bagId == null ? null : bagId.trim();
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId == null ? null : userId.trim();
    }

    public String getSupervisorId() {
        return supervisorId;
    }

    public void setSupervisorId(String supervisorId) {
        this.supervisorId = supervisorId == null ? null : supervisorId.trim();
    }

    public String getHouseAddr() {
        return houseAddr;
    }

    public void setHouseAddr(String houseAddr) {
        this.houseAddr = houseAddr == null ? null : houseAddr.trim();
    }

    public Integer getTdmId() {
        return tdmId;
    }

    public void setTdmId(Integer tdmId) {
        this.tdmId = tdmId;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Integer getCommunityId() {
        return communityId;
    }

    public void setCommunityId(Integer communityId) {
        this.communityId = communityId;
    }

    public String getCommunityName() {
        return communityName;
    }

    public void setCommunityName(String communityName) {
        this.communityName = communityName == null ? null : communityName.trim();
    }

    public String getHouseNumber() {
        return houseNumber;
    }

    public void setHouseNumber(String houseNumber) {
        this.houseNumber = houseNumber == null ? null : houseNumber.trim();
    }
}